/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package lolbatfsm;

import lolbatfsm.implementation.gui.MainForm;
import lolbatfsm.implementation.textui.TextUI;
import java.awt.Dimension;
import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;
import lolbatfsm.io.*;

/**
 *
 * @author Matteo Battaglio
 * @author Fabio Lola
 */
public class Main {

    static TextUI userInterface;

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) throws UnsupportedLookAndFeelException {
        try {
            UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
        } catch (Exception ex) {
            ex.printStackTrace();
        }
        MainForm mainForm = new MainForm("LolBatFSM");
        mainForm.setMinimumSize(new Dimension(1000,565));
        mainForm.setVisible(true);
        /*userInterface = new TextUI();
        userInterface.startSimulation();*/
    }
    

}
